﻿/**
 * ...
 * @author	Kliment
 * @version	1.2.0
 */
class kliment.utils.LockPrintScreen {
	private var _message:String;
	private var _inteval:Number;
	
	public function LockPrintScreen(message:String){
		_message = message;
		_inteval = setInterval(this, '_look', 30);
	}
	
	private function _look():Void {
		if (Key.isDown(44)) {
			System.setClipboard(_message);
		}
	}
	
}